#!/bin/sh
# 下载dev分支到用户目录下
python3 /home/feibot/update_sw/updateSW.py dev
if [ $? -eq 1 ]; then
  sleep 1
  killall python3
  sleep 1
  python3 /home/feibot/platform/platformStart.py
else
  echo "upgrade cancelled"
fi


